package org.rslai.tcedit.web.service;

import javax.annotation.Resource;
import javax.jws.WebService;

import org.rslai.tcedit.business.SearchService;

/**
 * WebService实现类
 * 
 * @author rslai
 */
@WebService(endpointInterface = "org.rslai.tcedit.web.service.IHelloService", serviceName = "HelloService")
public class HelloServiceImpl implements IHelloService {
	private SearchService searchService;

	@Resource
	public final void setSearchService(SearchService searchService) {
		this.searchService = searchService;
	}

	@Override
	public String sayHello(String username) {
		System.out.println("111111111111111111111");
		//String l = this.searchService.lrs();
		System.out.println("111111111111111111111=========================");
		return "l" + " hello, " + username;
	}

}
